package ifpb.monteiro.p2.baralho;

public enum ValorCartaBlackJack implements ValorCarta {
	AS(1.0), DOIS(2.0), TRES(3.0), QUATRO(4.0), CINCO(5.0), 
	SEIS(6.0), SETE(7.0), OITO(8.0), NOVE(9.0), 
	DEZ(10.0), VALETE(11.0), DAMA(11.0), REI(11.0);

	private Double valor;

	private ValorCartaBlackJack(Double valor) {
		this.valor = valor;
	}
	
	@Override
	public double getValor() {
		return valor;
	}

	@Override
	public ValorCarta[] getValues() {
		return values();
	}


}
